﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using dacli.pantallas;

namespace dacli
{
    static class Program
    {
        /// <summary>
        /// Punto de entrada principal para la aplicación.
        /// </summary>
        [STAThread]
        static void Main()
        {           
            ApplicationContext a = new ApplicationContext();
            a.Tag = 1;
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Inicial inicial = new Inicial();
            Application.Run(inicial);
            if (inicial.acceso) {
                Application.Run(new MenuPrincipal());
            }
        }
    }
}
